﻿function authorization(){
    var currentuser = '<%= Session["username"]!=null?Session["username"].ToString():"Guest" %>';
    alert(parent.name.length);
    if(parent.name==null||parent.name == "") {
        top.location.href = "/view/Login.aspx";
    }
}
window.onload = authorization;